home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
win_u_z
/
wcard201.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-20
|
1KB
|
41 lines
@echo off
echo WinCard Installation
if "%1==" goto Helpinst
for %%f in (C:, c:, D:, d:, e:, E:, f:, F: ) do if %1.==%%f. goto START
goto Helpinst
:START
echo WinCard will be installed on drive %1,
yn Y N 16 Continue (Y/N) ?
if ERRORLEVEL 1 goto END
echo proceeding...
if not exist %1\wincard\wincard.exe goto MKIT
echo %1\wincard\wincard.exe already exist
yn Y N 17 overwrite (Y/N) ?
if ERRORLEVEL 1 goto END
goto DOIT
:MKIT
mkdir %1\wincard
:DOIT
echo Copying files to %1\wincard
echo copying wincard.exe %1\wincard...
copy wincard.exe %1\wincard > NUL
echo copying wincard.hlp %1\wincard...
copy wincard.hlp %1\wincard > NUL
echo copying cards1.db %1\wincard...
copy cards1.db %1\wincard > NUL
echo copying cards2.db %1\wincard...
copy cards2.db %1\wincard > NUL
echo copying cards1.idx %1\wincard...
copy cards1.idx %1\wincard > NUL
echo copying cards2.idx %1\wincard...
copy cards2.idx %1\wincard > NUL
echo WinCard installation complete.
echo You should add WinCard to your program group now.
pause
goto END
:Helpinst
echo Run install with the drive/directory you want to
echo install WinCard to, ie. "install C:".
:END